package com.china08.yxyapi.repository.db;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.china08.yxyapi.entity.db.res.YxyResFormat;

public interface YxyResFormatRepository extends JpaRepository<YxyResFormat, String> {

    YxyResFormat findByExtensionContaining(String extension);

    List<YxyResFormat> findByStatusOrderByOrderNum(Integer status);

    List<YxyResFormat> findByIdNotInAndStatusOrderByOrderNum(List<String> aList, Integer status);

    YxyResFormat findById(String key);

}
